package me.firstapp.repository.weixin.order;

import java.util.Date;
import java.util.List;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.weixin.order.SoftOrder;
import me.firstapp.repository.base.EntityRepository;

public interface SoftOrderRepository extends EntityRepository<SoftOrder> {

	List<SoftOrder> findOrders(Integer status);

	List<SoftOrder> findOrders(Integer status, Integer settleFlag);

	SoftOrder findByOrderNo(String orderNo);

	Page<SoftOrder> findSoftOrderPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams,
			String sortParam, String sortType, Date startTime, Date endTime);
}
